package com.yulongtian.controller;


import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
import io.swagger.annotations.Api;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.stereotype.Controller;

/**
 * <p>
 * 前端控制器
 * </p>
 *
 * @author yulongtian
 * @since 2022-11-15
 */
@Controller
@RequestMapping("/temHumData")
@Api(tags = "数据管理")
public class TemHumDataController {

    @GetMapping("/hello")
    @ApiOperationSupport(order = 1)
    //设置权限
    @PreAuthorize("hasAuthority('system:dept:list')")
    public String hello() {
        return "hello";
    }
}

